package com.whfc.hdc.dao;

import com.whfc.hdc.dto.AppDeviceFeatureDTO;
import com.whfc.hdc.entity.AppDeviceFeature;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AppDeviceFeatureMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AppDeviceFeature record);

    int insertSelective(AppDeviceFeature record);

    AppDeviceFeature selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AppDeviceFeature record);

    int updateByPrimaryKey(AppDeviceFeature record);

    /**
     * 查询硬件特征值
     *
     * @param deviceId
     * @return
     */
    List<AppDeviceFeatureDTO> selectFeatureDTOListByDeviceId(@Param("deviceId") Integer deviceId);
}